#!/bin/sh

/usr/share/zentyal-desktop/zentyal-unconfigure-client

[ -f /usr/share/zentyal-desktop/ldap.conf.save ] &&
mv /usr/share/zentyal-desktop/ldap.conf.save /etc/ldap.conf

[ -f /usr/share/zentyal-desktop/gdm-post-default.save ] &&
mv /usr/share/zentyal-desktop/gdm-post-default.save /etc/gdm/PostSession/Default

rm /etc/auth-client-config/profile.d/zentyal
